package com.gm.commonlib.base.baseBean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

public class DataResp<T> extends BaseResp implements Serializable {

    @SerializedName("data")

    private T data;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    private List<TotalDataBean> total_data;

    public List<TotalDataBean> getTotal_data() {
        return total_data;
    }

    public void setTotal_data(List<TotalDataBean> total_data) {
        this.total_data = total_data;
    }

    public static class TotalDataBean {

        public TotalDataBean(String update_time,long totalX){
            this.update_time=update_time;
            this.totalX=totalX;
        }
        /**
         * update_time : 2022-12-04
         * total : 2
         */

        private String update_time;
        @SerializedName("total")
        private long totalX;

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public long getTotalX() {
            return totalX;
        }

        public void setTotalX(long totalX) {
            this.totalX = totalX;
        }
    }

}
